package com.ruoyi.fun.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单商品对象 ec_order_item
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class EcOrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单商品ID */
    private Long orderItemId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** SKU ID */
    @Excel(name = "SKU ID")
    private Long skuId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String productImage;

    /** 商品品牌 */
    @Excel(name = "商品品牌")
    private String productBrand;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String productCategory;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String productSpec;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal productPrice;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long productQuantity;

    /** 商品总价 */
    @Excel(name = "商品总价")
    private BigDecimal productTotalPrice;

    /** 实际商品名称 */
    @Excel(name = "实际商品名称")
    private String realProductName;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** SKU名称 */
    @Excel(name = "SKU名称")
    private String skuName;

    
    /** 组织ID */
    @Excel(name = "组织ID")
    private Long orgId;

    public void setOrderItemId(Long orderItemId) 
    {
        this.orderItemId = orderItemId;
    }

    public Long getOrderItemId() 
    {
        return orderItemId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setProductImage(String productImage) 
    {
        this.productImage = productImage;
    }

    public String getProductImage() 
    {
        return productImage;
    }

    public void setProductBrand(String productBrand) 
    {
        this.productBrand = productBrand;
    }

    public String getProductBrand() 
    {
        return productBrand;
    }

    public void setProductCategory(String productCategory) 
    {
        this.productCategory = productCategory;
    }

    public String getProductCategory() 
    {
        return productCategory;
    }

    public void setProductSpec(String productSpec) 
    {
        this.productSpec = productSpec;
    }

    public String getProductSpec() 
    {
        return productSpec;
    }

    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }

    public void setProductQuantity(Long productQuantity) 
    {
        this.productQuantity = productQuantity;
    }

    public Long getProductQuantity() 
    {
        return productQuantity;
    }

    public void setProductTotalPrice(BigDecimal productTotalPrice) 
    {
        this.productTotalPrice = productTotalPrice;
    }

    public BigDecimal getProductTotalPrice() 
    {
        return productTotalPrice;
    }

    public void setRealProductName(String realProductName) 
    {
        this.realProductName = realProductName;
    }

    public String getRealProductName() 
    {
        return realProductName;
    }

    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setSkuName(String skuName) 
    {
        this.skuName = skuName;
    }

    public String getSkuName() 
    {
        return skuName;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderItemId", getOrderItemId())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("productId", getProductId())
            .append("skuId", getSkuId())
            .append("productName", getProductName())
            .append("productImage", getProductImage())
            .append("productBrand", getProductBrand())
            .append("productCategory", getProductCategory())
            .append("productSpec", getProductSpec())
            .append("productPrice", getProductPrice())
            .append("productQuantity", getProductQuantity())
            .append("productTotalPrice", getProductTotalPrice())
            .append("createTime", getCreateTime())
            .toString();
    }
}
